package com.gopay.scheduler.job;

import java.util.Date;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;

import com.gopay.common.util.DateUtils;
import com.gopay.scheduler.GopayBaseJob;
import com.gopay.scheduler.service.fund.FundFileTemplateService;

public class AutoInsertFundFileTemplateJob extends GopayBaseJob {
	private Logger logger = LoggerFactory.getLogger(this.getClass());
	@Autowired
	private FundFileTemplateService fundFileTemplateService;
	@Override
	protected void doJobInternal() {
		// TODO Auto-generated method stub
		logger.info("向数据库FUND_GOPAY_FILE数据表中添加模板数据定时任务开始！============="+ DateUtils.format(new Date()));
		fundFileTemplateService.insertFundFileInfoTemplate();
		logger.info("向数据库FUND_GOPAY_FILE数据表中添加模板数据定时任务结束！============="+ DateUtils.format(new Date()));
	}

}
